home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Code Resources / PopupCDEF 1.3 / Documentation / Version History < prev   
Encoding:
Text File  |  1995-12-07  |  4.6 KB  |  142 lines  |  [TEXT/CWIE]

  1. * PopupCDEF 1.3 951204 (public distribution)
  2.  
  3. - Compiled CDEFs with bevel attribute disabled.
  4.  
  5. - Added a few pictures comparing beveled and unbeveled controls
  6. to the documentation.
  7.  
  8. * PopupCDEF 1.2 951010 (public distribution)
  9.  
  10. - Fixed several bugs found by Stefan Kurth.
  11.  
  12. - Disabled code for copying background pixel pattern to popup's
  13. offscreen graphics world.
  14.  
  15. - Added short README document.
  16.  
  17. * PopupCDEF 1.1 950921 (public distribution)
  18.  
  19. - Port state is saved on the stack, thus saving heap space.
  20.  
  21. - Tests for _IconDispatch, rather than System 7.
  22.  
  23. - Popup calls GetResource to look for an mctb with the same ID as the popup menu,
  24. and, if an mctb is found, assigns that mctb to the menu. This is done each time
  25. the menu is inserted into the menu list.
  26.  
  27. - Added better default colors using window's colors when popup is called.
  28.  
  29. - Popup explicitely tests for grayishTextOr before using it.
  30.  
  31. - Calculation of popup's rectangles accounts for style of popup's title.
  32.  
  33. - The icon utilities PlotIconHandle and PlotSICNHandle are used if available.
  34. This results in slightly better effects with color.
  35.  
  36. - Some attempt was made to reduce flicker in the borders of the popup when not
  37. drawing offscreen.
  38.  
  39. - The popup's title is hilited by reversing the foreground and background colors,
  40. not by calling InvertRect. This works better against color backgrounds. Also,
  41. inversion overrides the background pixel pattern by using MakeRGBPat and
  42. FillCRect.
  43.  
  44. - Patch to MDEF saves and restores menuProc field around CallUniversalProc. This
  45. is just in case the MDEF relies on the value of the menuProc field.
  46.  
  47. - Fixed minor bug in PopupSelect: was testing LoWord of value returned by
  48. PopUpMenuSelect, when should have been testing HiWord.
  49.  
  50. - Added automatic 3D beveling of menu and shading of triangle when port depth is
  51. at least 8 bits.
  52.  
  53. - Changed call to BlockMove to BlockMoveData.
  54.  
  55. - The private popup structure is aligned to 68K rules, just to be on the safe
  56. side.
  57.  
  58. - Added DEBUG_CDEF for deubgging the CDEF.
  59.  
  60. - Changed menu loading code to call GetMenuHandle before calling GetResource,
  61. rather than the other way around. This makes adding custom menus work better.
  62.  
  63. - Added test for nil menuProc field when loading the popup menu. This fixed a
  64. crash bug that happened if a menu resource was in memory but had not been
  65. initialized.
  66.  
  67. - If popupUseAddResMenu is specified, then AppendResMenu is called even if the
  68. menu was not created by the popup CDEF.
  69.  
  70. - Added support for popupTitleCenterJust.
  71.  
  72. - Tried to return kPopupPartNotSelected if user doesn't select a menu item, but
  73. Control Manager seems to thwart my efforts.
  74.  
  75. - Made PPC native version of CDEF.
  76.  
  77. - Added #ifdef __cplusplus to PopupCDEF.h.
  78.  
  79. - Changed kPopupVersion from 3 to 4.
  80.  
  81. - Added the constants
  82.  
  83. kPopupPartSelected        (1)
  84. kPopupPartNotSelected    (0)
  85. kPopupCDEFID            (129)
  86. kPopupCDEFIDFat            (kPopupCDEFID)
  87. kPopupCDEFID68K            (kPopupCDEFID + 1)
  88. kPopupCDEFIDPPC            (kPopupCDEFID + 2)
  89. kPopupProcIDFat            (kPopupCDEFIDFat * 16)
  90. kPopupProcID68K            (kPopupCDEFID68K * 16)
  91. kPopupProcIDPPC            (kPopupCDEFIDPPC * 16)
  92.  
  93. - Split PopupCDEF.h into PopupCDEFResources.h.
  94.  
  95. - Converted from THINK C to CodeWarrior.
  96.  
  97. - The current graphics world is restored after drawing offscreen. Some other
  98. fixes were made to offscreen ports (e.g., from 1.0b5, foreground and background
  99. colors are set to avoid colorization by CopyBits). These might have been fixed
  100. in 1.0b6.
  101.  
  102. * PopupCDEF 1.0b6
  103.  
  104. - CDEF now honors clip region
  105.  
  106. - Fixed error if menu was loaded into memory with GetResource before CDEF was
  107. called on menu.
  108.  
  109. - Removed unused 'data' member from PopupType structure
  110.  
  111. - PopupType is aligned to m68k rules if powerc is defined
  112.  
  113. - Window Manager port's font and size are saved and restored separately from
  114. corresponding low-mem globals
  115.  
  116. - Forces fonts to be flushed before calling PopupMenuSelect when popupUseWFont
  117. variation code is used. This should ensure that the correct font is used by the
  118. MDEF.
  119.  
  120. - Changed PopupHilite to draw the title rectangle in inverse colors, rather than
  121. using InvertRect and HiliteMode, so that hiliting would work correctly on
  122. non-white backgrounds.
  123.  
  124. - Size of reduced icons is calculated by dividing the size of an icon in half,
  125. rather than hard-coding the size to 16 pixels.
  126.  
  127. - Fixed minor horizontal alignment problem, there's still a vertical alignment
  128. problem, though.
  129.  
  130. - Triangle resizes according to font size.
  131.  
  132. - Popup is erased to window's background color, instead of white.
  133.  
  134. - Clicking outside of control's rectangle, even for oversized popups, won't popup
  135. the menu.
  136.  
  137. - Removed PopupVisibleSet, since that's handled by the Control Manager.
  138.  
  139. * PopupCDEF 1.0b5 (public release)
  140.  
  141. - Added support for 'cctb'
  142.